package myhashset;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

public class MyHashSet {
    public static void main(String[] args) {
        Set<Student> set=new HashSet<>();
        set.add(new Student("张三",22));
        set.add(new Student("张三",22));
        set.add(new Student("张三",22));
        System.out.println(set);
    }
}
